fixed creation crash bug