fixed linkids in files