fix for simple template client