resource file fix again (pretty much fails part of the time no matter
what I do, this fails the least)