Fix symbols in legacy output.