fixed some server stufff