fix chapter edit