fix reconnection and hideGenearl()