turning on debug option
updated filter to work for access tokens