fix duplicate entry