FIX: Issue when generating view.