fixed view.js