fix undefined variable, add regex for ColectionsCleaning