fixed nb0 value error