bugfix in YX.part2