fixing return when uppercase