Correct pointer issue