Thanks Mike Kaply, fixes #16
Also fixing https://github.com/Webconverger/webc/issues/137