Fixed NPE in SpaceModule