fix to issue brycecr/msmexplorer#56