- fixed free() bug in client
 - fixed position bug in server when session is created the very first time