Fixed some bug in client and server