fix don't remove if no rows