fixed sidebar link parsing