revert link flags