don't try to set units to 'undefined' selection