fixing uppercase to lowercase