begin fix the issue that From() panic a error when pass 1