various bug
fix delete
fix sort