fix #285: 'Scan'/'Trace' problem