remove logging from minified version