Avoid crash state UI when shows odd state values