another php5.3 fix