fix page loading which now properly escapes contents