Fixed on disconnect event