setup param was outside fitgp