fix PHP Strict bug