fix errors in pointer fixes