Fixes #2, not sure why