lowercase path bug fix