fix capitalization with reading keys