cleanup of maps