fixed segfault in shortcuts tab