fixed clone in entity