Fixes bugs in Intercept.