Fixed api_key reference