fix to account registration