some changes in submit.php