fix modification of SESSID in clone