fixed turn bug in client
fixed turn bug in server