Bug fix after sect renamed to sector