Fixing regex, removing some logging