Some more Loggings and removed the regex error