remove shortcuts, log in case of critical exception