error in biv model with definition variable