removing duplication error