fix hask-interactive-mode