fix warnings in the doc