debugged parseBody