fix stdout output
stdin use log object
add promised-io
add filter