fixed template rate issue