fix encoding for usernames and titles on page stats