remove a bug in add.php