change style bug to make it work on the server