missed some param names (C style fix)