Use correct state, not block refrence to fix compile.