clean up
tuneParams: fix bug