fixed small bug with info pane not being removed