fix bug in sidebar links