edit match model
fix bug in pirofu