Fix bug on registration subscriber.
Merge pull request #32 from pmartelletti/master

Fix bug on registration subscriber.