Fixed error arising after cloning.