Duplicate entry  issue fixed