bug fix in expression task dependency