check array in 'id'