configure the controller resolver overridding and fix some issues