fix for scanning flatbed