fixed bug firstMove