fix ios resizing issue in Connections