fix intercept error