use parseInt since Number('') === 0