python 3 fix
update for when we don't have a selected cell