fix create code bug

fix create code bug