fix windows issues from #53