Fix a bug that can't create a new space