improving trace messages