fixed bug causing plugin to show in other tabs