minor fix to Optional<T>