fixed firefox map issue