Fixed bug with api key installation