minor fix
fix #704

hopefully this didn’t break anything else.
Merge pull request #710 from vampiricwulf/master

minor fixes