remove redundant data