updated fit config
bugfix in 1D templates