fix label centering and states