Set link to type array if it is null