Fix bug in IndexSpace rather than patch Space to compensate
Fix typo