fix missing resource error