fix body formatting in probe doc function