correction so id assignment will never be greater than maxClients