Try to fix issue #45(Error when trying to register on dev environment)