fix bug and modified view of content-edit