fix remote adapter minor issue