fixed small bug in new.php and changed view email