attaching and detach fields from contacts