fixed some bugs
displaying states inside status