Fixing space bug

Thanks to Martin Maurer for finding this!

Fixes #213