REDCORE-278_added mvc override plugin trigger and fixed some code