fix params on history sync