added duplication error and _id
added field error