remove the duplicated http status line when error