Remove diagnose output