fix width / height bug on clone