fixes for adding contacts