fixed some serverside bugs