fix map problem