yet another delete bug fixed