debug the problem of prediction