Fix the type value.