get rid of redundant data