fixed esms hang after running for sometime, fixed wrong score after 9 matches