type fixing