fixed expected string, sending object bug