prevent trying to open unfinished tasks