updating space debug function 2