[DEBUG] use tee.