ResRef bugfix