update for php5.5