Fix turn count bug