[remoted] fix compiler warnings