to fix the fzero bounds to avoid NaN's