[fix] resource path in view and some chore