fixed cell choosing bug