erasing zeroes from result