fix email confirm bug