fixed function arguments

fixed CrossReferenceFunction test