https://github.com/drbeat/mako-1/commit/8c25d9daea4ef156924dbbde49c0a6e52399df9d#diff-18663ecac9af84b75ce2c5b5c509259bR59