add output
 fix bug in multibuilds