fix php5.4 dependency