fix appsocket