Fix bug for contact