Fixed the server bug - don't understand completely though.