initial state error checking