remove contacts and file global vars