fixed double-opening of tabs on linux