minor fixes for contacts