Fixed issue with PHP 5.5