Fix length message

and decode body for compile