fixed tie error when 2-1