improve websocket monitor
fix relations rotation
minor code tweaks