better implementation of top cells where exit().remove() actually works