addjust pointer depth and fix typo