fixed multiple email issue