fixes for contacts adding/deleting