If straight lines in an original appear crooked in a scanned image, make sure to place your original straight when you scan it.
Keep the document cover closed to prevent dirt or dust from getting inside.