fixed return type for immediates.