Fix type issue with rel attribute