debugging for editgcode focus issue