Fix application connection;