fix for nginx tpl verification on restore