Remove extraneous lines from server