delete unnecessary content in add.php