fixes template with freqency
merged