another fixed bug with zero value