remove some tolower() calls