Fix display issue in xml format for method oplines