fix bug that http clone won't work