code cleanup
Merge branch 'master' into new-book-events