Fix crash on show space page.