fixed bugs of undeployed market and improper cloning