bugfix in function parameter collection
bugfix with namespace resolving