- bugfix template resource of inheritance blocks could get invalid if the default resource type is not 'file'(Issue 202)