fixed state widget, set label 'for' to be 'state_id'