fixed duplicate emails