added console.info to the stack and changed the regex so it did not break my code