fix warnings in scaladoc generation