fix compile errors for outputservice