Fix error if clients is set