javadoc improved, warnings fix