fixed the views path bug