fix php older version bug (1)