remove redundant ext