fixed a bug when adding cloud url after full init