fix parse pointer bug