Fix multiple tabs opening