removing redundant content