Fix call undefined function.