fixed some ptr declarations