Fix: https://gist.github.com/miyaoka/c56f53e82d7120410fa5