jtemplate now uses correct number of tabs