Fixes #1, thanks @UnderCooled