added crid field to bid