I deleted the template entirely and re installed it. It is working fine now. Thanks for the help
Forum Rules