add missing arg to trace routine