bug_949

https://gist.github.com/kkorekk/9c2478093365c13fd845