auto reconnect added