fix DELETE crash