clean up rest applications