use stub flags