prepare to remote