solve map problem . solve map key and api problem