flushing out ui