Solved #75
Fix suggested by Chris Mair
Merge pull request #76 from MaciejZiarko/issue_75

Solved #75