change variable of output
split output and err