fix debug page