empty list bug