remove diagnostic line