fixed error mail