fixed clone problem