Fixed outputBox bug