bug fix when 0 is 0