* fixed thrown exception when template object is not found