bug fix in GameManager

null square getting dereferenced