fix to work with new DynamicTemplate lookup host feature