Removing Extra Lines