fix error in accounts.views.register