rest: clean up