fixed error with registration email