Fixed easy to fix bugs with Java compiler