Fixed Terminal.java