fixing bug with navigating to chapter