substr made things lower case