fixed undefined utlool error in template