fixed format of state box in WEBIF