fix not return init function problem