Code hardening and corrections to cob state polling