fix for substate system on flash target