socket callback expects string instead of data now