fixed backward compatibility
Merge pull request #13 from mung3r/master

sync