fix for PHP Strict standards