fix delete stmt