fixed again the domain error