Wondering why you needed to add a second parameter. The params_lookup function expects as second argument 'global' and it there's nothing it should just ignore it.