type def fix