fix output paths