Fixing encoding problem on debug page