cleanup of the mapfile

only cleanup no need to review.