Fix for Php5.3