fix broken map