updated lowercase and key number correction