Fix setState call.