fixed all the argumet spagetti in the trace! function.