remove items from library when paths are deleted