1.fix bug in work_thread 2.delete ai file