Fixed registeration issue.