fix bug of clone
rebuild