hopefully fixed compile warnings and the doc builder warnings