resource reload fix. (fixes #160)