changing debug to trace