fixed bug with scan starting off 0x1F