replace works but i realized that delete had conditions unacunted for fix that and im done