small state fix