set newclass to email valid error #40