Compile failed, some static func