fix repeat scans and hex display