clean up of javabayes