Set xy block line bug fix