Convert the input in case input has capital letters