fixes some multiplayer issues