fix to print trayscandump.txt