fixed the fetching view modal