to_lower and to_title fixes

copy paste bugs fixed