fix selected cells