fixed a problem because the server is running an old php