map cleanup