Fixes binarysec/gate#18