remove reference to console