Fix undefined index swpmvc_controller and swpmvc_method