remove unnecessary outputs to console