Fixed error on object has no method send