Fixed the use registration issue.