If you are scanning a thick or warped original, cover its edges with paper to block external light as you scan it.