fix app.match method not found problem