fix red flag code pro calling super();