fix a wrong expansion in the case of the last optional hashref
fix a typo
Merge pull request #6 from robario/topic/fix-wrong-expansion

fix a wrong expansion