fix #558
Merge pull request #560 from erwinvaneyk/patch-1

fix #558