remove php5.4 code