remove redundant resource