fixed clone.js for test