fix params in some fns