minor type adjustments