clean up of chapter