fix bugs in create_content