fix plug single connection
fix disconnect