Fix to the RES Fix
Merge pull request #5 from atmaz/patch-2

Fix to the RES Fix by atmaz