fix empty list for mongo db