Fix clone from api