null pointer in intercept