add iflag to skip display init