fix delete collection api