removed unneeded lines from old template system