fix regression introduced by cc55a1ce10c966ba0db25018c418a01363849915