Fixed bug with reading API key for RT