Fixed sidebar bug