Fixed the problem with zeros