fixed a tie issue