delete redundant data