fixing contact error