bug fix PHP5.3 does not exist in PHP 5.3