Bug fixes for ATTED remote call