Fixes reconnect so it still works after