fix generator template, email, validation