chapters order bug fix