trying to fix bug where only last info window is displayed