Fix phase type.