bug fix when importing workflow without dataset opened