fixed the new contact bug