fixed ‘view’ config error