bugfix patient status and feature socket.io