fix race condition contacts loading