elegant way to replace/ clean empty cells