local & server: output refinement