Fix mob's flags.