fixed some server stuff