Merge pull request #4 from pacher/master

Addition to closed issue #2 (The same fix for Rescript)