fixed issue with docs and <T> set on client