fix linking finished