small tweak to list logic