API key add command fix