trying to fix the reconnecting issues;