fixed clone issue