fixed regression on null headers for raw commit