fixed problem with ios connect