tidy up trace spamming