fix some silly syntax (C has no default params)