link sidebar category definition properly