Fix api key merge