fixed rare problem in connection with service