remove capital letters in incorrect locations