issue366 debugging