[Observe-commits] 10/80: Avoid NPe + improve code