Fixed requires in view.