fix on flash target for the arrays and the canvas