traces generation and displaying corrected