Fixed registration issue.