fixed a bug. rest recipe does not include template resource.