Fixed sidebar bug in brackets