Fixed debug page bug