fixing "\n" and "jetty"