Fixes #2

Credit goes to @Lukasa