modify links formats