fixed sending dict. Yay!