improve sending RawBean and minor fixes