fixed some java