clone bugfix