fixes #1185
Merge pull request #1186 from xerora/fix-1185

fixes #1185