fixed deployinst cloning