focus state fix