disabled clients and maxcount fix