Fix params loading