Account register bugfix.