Fixed a bug in contact list display