fix vcode and email bug