handled unknown state error