Fix call undefined method.