removing duplicated data