fixed bug with cells selecting