It works localy but not on the server.