adding client was not working