fix params on load