email problem fixed (variable names)