minor changes to traces