remove redundant sys paths