fixed linked bug