clean up redundant data