zero -> infinity value fix