fix static func getting called with empty call