Fix problem of quality recognition