fixes sidebar locations bug