state bind fix.