minor cleanup in chapter module