fix deprecation error messages in lime.php