fix for special case of all NA