plugin all flags year fix