Fixes #6

Thanks to @kaz-nix