fix registration bug
1.0