Fix for activated tab