fix forgot.php minor bugs