fixed some java stuff or something maybe