fix problems caused by lowercase change.