fix delete bugs
Merge remote-tracking branch 'origin/master'