remove deprecated intercepter function