fixed scratchpad fetching in stratum