fixed chapter loading.