fix some output for context and text graph