Fix display open task bug

see issue #158