fix 0 case