Fixed textBodyParser bug revealing itself in firefox