handling exceptions for out of sync sentences.