fix displaying of staking state in some cases