Avoid KeyError in vice