Fix the view path bug.