use const config& for value check

the intention is to remove the annoying 
async=""
dependent=""
undo=""
in replays.