clean up pull.php