fix email setting