fix cell selection