fix bug when first page load, set isEditing status failed
resource library; fix error event bugs