bugfix in retrieval of state of an ON VM