reset scratchpad