prepare for Java8