OSDN Git Service

rework on the register and restore logic