uppercase comparation bug fixed