remove redundant doall