fix remove restful error