changed ID test from --id to _id