rest server fix