check_state fixed