new UI, fix some crash