templates double space for css classes