fixed several bugs and advanced in provisioning command.