fixed pointer bug