Fixed a bug

Fixed a bug in the create dialog option