resolved huge issue in findPlayerInArray() which always returned null