Fix problem with pointer hiding