Fixed the missing line bug.

Added missing line detection to outputmodes in TRACE=1