fixed encoding problem on pages