fixing things in DedicatedServer