Java fixed (Thanks Oscar)