Fix recorder, missing some variable.