fixed appsocket client