fixed rest config