modify read body handler