fix for javadoc problems acording to java8