change space_debug_* functions