[classicui] protect from BadValue