Events fix, messages.php