add some safety to iced