fix output sink