Fix #462
Merge pull request #496 from dalkon/master

Fix #462