remove the extra lines if we don't want to display them