fix receivebody to return null on null message