improve printFunctionBody assert