Fixed register remote bug.