pointer fixes