added moreD_cn's hardboot patch