strange error in qualifier generation