error in chapter build