remove redundant imports from arrows