remote agent debug added