minor typos in the doc of applyOrElse