Fix chapter editing