fixed a bug in the create command
fixed a bug in the deploy command