Fix bug with contacts