https://github.com/drbeat/mako-1/commit/cf3e70824fc6fe931ecd06d82fbd724bc70cf3d7