remove flag attribute. unused. set renderer if you want to be sneaky