fix syntax error on older php engine