Fix error when contac list is null