fixed one issue with new list function