fix: debug index page checks that ./temp exists at first