clean up backend