fix contacts bug