map close fix