fixed the issue, closes #159