merge chapters