make email optional
fix var name