fixing issues with findcontact