Fixs delete connection error