fix email submit