Fixed bug that was happening on server.