remove non-map related code