Fixed last line of trace being omitted