fixed sendmessage.php