php5.3 fix