func to disable tracking