fix bug in cmsplugin where instance.view == 'current'