fix clients and config