minor fixes to params