fixed end of chapter links to next chapter