fixed missing dependency
added regex escaping for lookup
added delete old collection