fix lower()
related to #569
Merge pull request #582 from optiflows/fix

fix lower()