fix bug of main_desc