Fixed bug with zero