clean the java warnings