fix PHP Strict Standards warning