destructing doesn't work to well with parsing tools
improve console.log removal