fixed the disconnect issue