fix 0 == '' bug