mail stackoverflow fix