renamed condition

ToDo: better condition handling on disconnect