Fix to make it compatible with ST3
Merge pull request #9 from fikovnik/master

Fix to make it compatible with ST3