custom_header.custom_insert
* fix bug when migrate from API * fix test * fix test * improve * fix error message