api set map fix