correct a problem found in book