fixed php version bug