fixed error messages when deleting a page inline