typo fix and ignor the upper case keys