Fix bug when YAML is on body is not correct