A missed reference to centre_id (was called cid instead).