fix sendObject