fix collection deletion, junk file deletion