fix $env in message.php