Map controller fix for api data