improve fix to DTRT for a param of "0"