clean up map