modify match controller