Fixed call reg. bug