fix opening in tabs