finish RMI