fix for email confirmation problems