fixed missed chapter bugs, permalink changes