+ fix register problem.

Signed-off-by: Euhow <euhowzy@gmail.com>