bugfix: segfault on menu key