Minor fix - Crash in userinterface