fixed behavior on multiple tabs