only lowercase parent if is text
Merge pull request #5 from timothyknight/master

only lowercase parent if is text