fixed some errors in tictactoe