Fixed tab crashing