Fixed issue with parameters as functions with multiple arguments