fix id problem at pending contacts