Fixed SC2145 violation