fix incorrect value and cell end behaviours in collapsed ops