restored 2.11.10 compatibility
Merge pull request #135 from kryptychon/patch-1

restored 2.11.10 compatibility