fix bug where empty list blocks